fs = require("fs");
var prefix = "d:/test/question/1/"



function add(numberStr1,numberStr2){
    return "12341243"
    // 请在此处补充内容
    return ""
}

function bigNum(){
    var numbers = fs.readFileSync(prefix + "number.txt","utf-8").split("\r\n");
    var results = fs.readFileSync(prefix + "answer.txt","utf-8").split("\r\n");
    var length = numbers.length;
    if(length != results.length){
        console.log("测试数据集错误，请重新生成");
    }    
    for(var i=0;i<length;i++){
        var numberToken = numbers[i].split(" ");
        if(results[i] == add(numberToken[0],numberToken[1])){
            console.log("测试用例%d 通过", i);
        } else {
            console.log("测试用例%d 不通过", i);
        }
    }
}

bigNum();